home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13269 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  40 lines

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com(Pete Grant)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: dealing without bool type
  5. Date: 24 Mar 1996 16:02:59 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4j3rnj$hl8@news1.h1.usa.pipeline.com>
  8. References: <4j25s0$shm@arl-news-svc-3.compuserve.com>
  9. NNTP-Posting-Host: 38.8.120.9
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 24, 1996 00:43:44 in article <Re: dealing without bool type>,
  16. 'Philippe Verdy <100105.3120@compuserve.com>' wrote: 
  17.  
  18.  
  19. >smurman@shellx.best.com (Scott Murman) s'Θcrit : 
  20. >>  
  21. >> I've used g++ for my compiler.  I now have Sun's SC4.1 to use, but it 
  22. >> doesn't seem to have bool as a built-in data type.  What are some good 
  23. >> ways to deal with this? 
  24. >>  
  25. >You need to add some classes to your RTL include files which 
  26. >will define a compatible environment. Using the bool class 
  27. >defined in Microsoft Visual C++ 4.5 is the simplest solution. 
  28.  
  29. Is this a typo?  Or are you in their beta program or somehow 
  30. have special privileges?  I just received MSVC++ 4.1 a few days 
  31. ago which, AFAIK is the latest. 
  32.  
  33. bool is a class?  What about bool being a reserved keyword 
  34. in the ANSI/ISO standard?  Wouldn't that cause a conflict? 
  35.  
  36. -- 
  37. Pete Grant 
  38. Kalevi, Inc. 
  39. Software Engineering & development
  40.